package com.cyz.common.mapper;

import com.cyz.common.bean.Button;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 34928
* @description 针对表【button】的数据库操作Mapper
* @createDate 2023-02-20 10:52:22
* @Entity com.cyz.bean.Button
*/
public interface ButtonMapper extends BaseMapper<Button> {

    List<Button> queryFreeButtons();

    boolean removeByIds(Integer[] ids);

    boolean addFreeButton(Button button);

    boolean updateFreeButton(Button button);

    List<Button> getButtonsByGroupId(Integer id);
}




